<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/user/update" method="post">
    <input name="age" th:value="${user.age}"/>
    <input name="name" th:value="${user.name}"/>
    <input type="submit" value="提交"/>
</form>
</body>
</html>